namespace SmartBoard.Core.Networking
{
    /// <summary>
    /// Base class for ISocketServive. Use it overriding the virtual methods.
    /// </summary>
    public abstract class BaseSocketService : ISocketService
    {
        #region ISocketService Members

        public virtual void OnConnected(ConnectionEventArgs e) 
        { }
        
        public virtual void OnSent(MessageEventArgs e) 
        { }
        
        public virtual void OnReceived(MessageEventArgs e) 
        { }
        
        public virtual void OnDisconnected(ConnectionEventArgs e) 
        { }
        
        public virtual void OnException(ExceptionEventArgs e) 
        { }
        #endregion
    }
}